﻿#ifndef SVDETECTVIEW_H
#define SVDETECTVIEW_H

#include <ElaPushButton.h>

#include <QLabel>
#include <QLayout>
#include <QWidget>

class SVDetectView : public QWidget
{
    Q_OBJECT

public:
    SVDetectView(QWidget *parent = nullptr);

    void setDetectResult(const QPixmap &pixmap);
signals:
    void startDetection();
    void stopDetection();

private:
    QLabel *mDetectResultLabel;
    ElaPushButton *mStartButton;
    ElaPushButton *mStopButton;
};

#endif
